package com.htht.smartschool.model.askforleave;

import com.htht.smartschool.common.model.Entity;
import com.htht.smartschool.model.teacher.TClass;



/**
 * TLeave entity. @author MyEclipse Persistence Tools
 */

public class TLeave extends Entity implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
     private String studentcode;
     private Long createtime;
     private Long agreetime;
     private String reason;
     private String flag;
     private String type;
     private String remark;
     private String classcode;
     private String ids;
     private String name;
     private TClass classinfo;
    // Constructors

    /** default constructor */
    public TLeave() {
    }

    
    /** full constructor */
    public TLeave(String studentcode,  Long createtime, Long agreetime, String reason, String flag, String type, String remark) {
        this.studentcode = studentcode;
        this.createtime = createtime;
        this.agreetime = agreetime;
        this.reason = reason;
        this.flag = flag;
        this.type = type;
        this.remark = remark;
    }

   
    // Property accessors

    public String getStudentcode() {
        return this.studentcode;
    }
    
    public void setStudentcode(String studentcode) {
        this.studentcode = studentcode;
    }

    public Long getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getAgreetime() {
        return this.agreetime;
    }
    
    public void setAgreetime(Long agreetime) {
        this.agreetime = agreetime;
    }

    public String getReason() {
        return this.reason;
    }
    
    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getFlag() {
        return this.flag;
    }
    
    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }


	public String getClasscode() {
		return classcode;
	}


	public void setClasscode(String classcode) {
		this.classcode = classcode;
	}


	public String getIds() {
		return ids;
	}


	public void setIds(String ids) {
		this.ids = ids;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public TClass getClassinfo() {
		return classinfo;
	}


	public void setClassinfo(TClass classinfo) {
		this.classinfo = classinfo;
	}
}
